package com.gibs.peixunapi.mapper;

import com.gibs.peixunapi.VO.ShowExerciseRecordDTO;
import com.gibs.peixunapi.VO.ShowExerciseRecordVO;
import com.gibs.peixunapi.VO.SubjectHubVO;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 *  Mapper 接口
 *
 * @author 
 * @since 
 */
@Component
@Mapper
public interface ExerciseRecordMapper  {

    ShowExerciseRecordVO getCourse(@Param("studentId") Integer studentId,
                                   @Param("courseId") Integer courseId);

    List<ShowExerciseRecordDTO> getChapterRecord(@Param("courseId") Integer courseId,
                                                 @Param("studentId") Integer studentId);

    List<SubjectHubVO> getRecord(@Param("courseSubjectId") Integer courseSubjectId);



}
